package com.gitee.service;

import com.gitee.entity.Record;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface service {
    //用户充值
    public String insert(String userid,double recharge);
    //根据用户id查询账户余额
    public double selectRS(String userid);
    //根据用户id,花销修改账户余额
    public String update(String userid,double expense);
    //用户退款
    public String refund(int recordid);

    //查询钱包资金变动明细
    public List<Record> selectAll(String userid);
}
